go/types.Checker.allowVersion (method)
18 uses
go/types (current package)
builtins.go#L607: if !check.allowVersion(check.pkg, 1, 17) {
builtins.go#L733: if !check.allowVersion(check.pkg, 1, 17) {
call.go#L20: if !check.allowVersion(check.pkg, 1, 18) {
call.go#L381: if !check.allowVersion(check.pkg, 1, 18) {
conversions.go#L193: if check == nil || check.allowVersion(check.pkg, 1, 17) {
decl.go#L542: if check.isImportedConstraint(rhs) && !check.allowVersion(check.pkg, 1, 18) {
decl.go#L557: if !check.allowVersion(check.pkg, 1, 9) {
expr.go#L941: if !allUnsigned(y.typ) && !check.allowVersion(check.pkg, 1, 13) {
resolver.go#L384: if d.spec.TypeParams.NumFields() != 0 && !check.allowVersion(pkg, 1, 18) {
resolver.go#L442: if d.decl.Type.TypeParams.NumFields() != 0 && !check.allowVersion(pkg, 1, 18) && !hasTParamError {
typeset.go#L247: if !check.allowVersion(m.pkg, 1, 14) || !Identical(m.typ, other.Type()) {
typeset.go#L278: if check != nil && check.isImportedConstraint(typ) && !check.allowVersion(check.pkg, 1, 18) {
typeset.go#L288: if check != nil && !check.allowVersion(check.pkg, 1, 18) {
typeset.go#L303: if check != nil && !check.allowVersion(check.pkg, 1, 18) {
typexpr.go#L46: if !check.allowVersion(check.pkg, 1, 18) {
typexpr.go#L278: if !check.allowVersion(check.pkg, 1, 18) {
version.go#L20: if len(s) <= 2 || check.allowVersion(check.pkg, 1, 13) {
version.go#L47: func (check *Checker) allowVersion(pkg *Package, major, minor int) bool {